package com.bg.jbox.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.bg.jbox.dao.StudentDao;

@Controller
public class StudentController {
	
	@Autowired
	private StudentDao studentDao;
	
	@RequestMapping(value = "/jbox/ai.do")
    public ModelAndView courseList(HttpServletRequest request) {
		System.out.println(studentDao.countAll());
		return null;
	}

}
